package xh.lumt.util;

import java.nio.charset.Charset;
import java.util.Random;

/**
 * Created by Administrator on 2016/6/25.
 */
public class Global {

    public static final Charset DefaultCharset = Charset.forName("utf-8");

    private static Random rand = new Random(System.currentTimeMillis());

    public static int rand(int limit) {
        return rand.nextInt(limit);
    }
}
